package com.example.service;

import com.example.dto.BookDishDTO;
import com.example.result.PageBeanResult;
import com.example.vo.BookDishVO;

import java.util.List;

public interface BookDishService {
   
    PageBeanResult showBook(String name,Integer categoryId,Integer status,
                             Integer page, Integer pageSize);

    PageBeanResult selectBook(String name, Integer page, Integer pageSize);

    void deleteBook(Integer id);

    void deleteBooks(List<String> ids);

    void starOrStop(Integer status, Integer id);

    BookDishVO getById(Long id);

    void updateBook(BookDishDTO bookDishDTO);

    void addBook(BookDishDTO bookDishDTO);


    List<BookDishDTO> list(Long categoryId);
}
